<%--
    Document   : Registration

    Created on : 23 avr. 2009, 14:05:17
    Author     : BAILLEURS SERVICES
--%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ page language="Java" import="java.sql.Connection" %>
<%@ page language="Java" import="java.sql.Statement" %>
<%@ page language="Java" import="java.sql.* " %>

<%@page import="phan.connection.*"%>

<jsp:useBean id="formHandler" class="phan.connection.InscriptionBean" scope="request"/>

<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Page Inscription</title>
        <link href="CSSMain/lostobjet.css" rel="stylesheet" type="text/css" />
        <link href="CSSMain/header_button.css" rel="stylesheet" type="text/css" />
        <link rel="stylesheet" type="text/css" href="../PHAN/CSSMain/ddsmoothmenu.css" />
        <link rel="stylesheet" type="text/css" href="../PHAN/CSSMain/ddsmoothmenu-v.css" />
        <script type="text/javascript" src="../PHAN/CSSMain/jquery-1.3.2.min.js"></script>
        <script src="../PHAN/CSSMain/ddsmoothmenu.js" type="text/javascript"></script>

        <style type="text/css">
            <!--
            div.back {
                width:inherit;
                background: #576;
            }
            div.section {
                background: #ffd;
                width:inherit;
            }
            div.back {padding: 0.2em}
            div.section {margin: -2em 0.2em 0 -0.3em}

            -->
        </style>

        <script type="text/javascript" language="javascript">


            var separNumTel = '-';
            function verifTel(event) {
                var authorizedChar = eval('/[-+()0123456789]/');
                var keyCode = event.keyCode?event.keyCode:event.which;
                var char1 = String.fromCharCode(keyCode);

                //on autorise backspace, enter,ctrl, shift, alt, ..., prec, suiv, suppr
                if(keyCode > 20 && keyCode != 37 && keyCode != 39  && keyCode != 46  && !authorizedChar.test(char1)) {

                    return false;
                }
                return true;
            }
            function verifEmail(event) {
                var authorizedChar = eval('/[éàùè<>#%&{}~|*!"]/');
                var keyCode = event.keyCode?event.keyCode:event.which;
                var char1 = String.fromCharCode(keyCode);

                //on autorise backspace, enter,ctrl, shift, alt, ..., prec, suiv, suppr
                if(authorizedChar.test(char1)) {

                    return false;
                }
                return true;
            }

            function verifNumero(event) {
    var authorizedChar = eval('/[0123456789]/');
    var keyCode = event.keyCode?event.keyCode:event.which;
    var char1 = String.fromCharCode(keyCode);

    //on autorise backspace, enter,ctrl, shift, alt, ..., prec, suiv, suppr
    if(keyCode > 20 && keyCode != 37 && keyCode != 39  && keyCode != 46  && !authorizedChar.test(char1)) {

        return false;
    }
    return true;
}
        </script>

<%

    int RoleID=-1;



    if(session.getAttribute("UserRoleID")!=null)
        {
            if(session.getAttribute("UserRoleID").equals("1"))
                RoleID=1;
            if(session.getAttribute("UserRoleID").equals("2"))
                RoleID=2;
        }


%>
    </head>

    <body>

        <div id="Header"><img src="images/LOGObanner.gif" usemap="#Map" border="0"/>             <map name="Map" id="Map" >   <area shape="circle" alt="" coords="65,51,52" href="../PHAN/Accueil.jsp" />         </map></div>




        <div id="Menu">
            <div id="smoothmenu1" class="ddsmoothmenu">

                <%


                if(RoleID==-1){

                out.print("<ul>");
                out.print("<li><a href=\"Accueil.jsp\">Accueil</a></li>");
                out.print("<li><a href=\"Login.jsp\">Déjà Membre</a></li>");
                out.print("<li class=\"first\"><a href=\"Inscription.jsp\">Nouveau Membre</a></li>");
                out.print("<li><a href=\"Login.jsp\">Vérifier Objet</a></li>");
                out.print("<li><a href=\"Login.jsp\">Enregistrer Objet</a></li>");
                out.print("<li><a href=\"PlanDuSite.jsp\">Plan Du Site</a></li>");
                out.print("<li><a href=\"ContactNous.jsp\">Nous Contacter</a></li>");
                out.print("</ul>");

               }
                if(RoleID==1){

                out.print("<ul>");
                out.print("<li class=\"first\"><a href=\"Accueil.jsp\">Accueil</a></li>");
                
                out.print("<li><a href=\"Inscription.jsp\">Nouveau Membre</a></li>");
                out.print("<li><a href=\"../PHAN/RechercheObjet.jsp\">Vérifier Objet</a></li>");
                out.print("<li><a href=\"../VerifierObjetVST/AjouterElementVST.jsp\">Enregistrer Objet</a></li>");
                out.print("<li><a href=\"PlanDuSite.jsp\">Plan Du Site</a></li>");
                out.print("<li><a href=\"ContactNous.jsp\">Nous Contacter</a></li>");
                out.print("<li><a href=\"PageCL_VST.jsp\">Votre Page</a></li>");
                out.print("</ul>");
                }
                 if(RoleID==2){

                out.print("<ul>");
                out.print("<li class=\"first\"><a href=\"Accueil.jsp\">Accueil</a></li>");
                
                out.print("<li><a href=\"Inscription.jsp\">Nouveau Membre</a></li>");
                out.print("<li><a href=\"../PHAN/RechercheObjet.jsp\">Vérifier Objet</a></li>");
                out.print("<li><a href=\"../VerifierObjetABN/AjouterElementABN.jsp\">Enregistrer Objet</a></li>");
                out.print("<li><a href=\"PlanDuSite.jsp\">Plan Du Site</a></li>");
                out.print("<li><a href=\"ContactNous.jsp\">Nous Contacter</a></li>");
                 out.print("<li><a href=\"PageCL_ABN.jsp\">Votre Page</a></li>");
                out.print("</ul>");
                }
%>
            </div>
        </div>

        <div id="Page">

            <div id="cot_trai">

                <div id="content">

                    
                    <div class="message" align="center"><span>

                        <h2 class="title " align="center"><b><u>FICHE D'INSCRIPTION</u></b></h2><br>
                        <form name="reg" action="InscriptionProcess.jsp" method="post">
                            <table rules="groups" width="477" border="0" cellpadding="0" cellspacing="0" >
                                <tbody>
                                    <tr>
                                        <td align="middle" bgcolor="#858a8b" colspan="2"><div  align="center"><font style="FONT-WEIGHT: bold; FONT-SIZE: 12pt; COLOR: #ffffff; FONT-FAMILY: Georgia">LOST OBJET.fr</font></div>

                                            <div align="center"> <font size=3 color="#FFFFFF" ><sup><font color="red" >*</font></sup> Champs Obligatoires</font></div>

                                        </td>
                                    </tr>

                                    <tr>
                                        <td  colspan="2"></td>
                                    </tr>
                                    <tr>
                                        <td colspan="3">
                                            <hr color="#339966" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td width="94">Login*</td>
                                        <td width="369">
                                            <input type="text" maxlength="15" size="15" name="login"  value='<%=formHandler.getLogin()%>'/>
                                            <strong>(entre 6 et 15 caractères)</strong>
                                            <% if (formHandler.getLogin() == "") { %>
                                            <br><font size=1 color="red"><%=formHandler.getErrorMsg("login")%></font>
                                            <% } else {%>
                                            <br><font size=1 color=red><%=formHandler.getErrorMsg("login_exist")%></font>
                                            <% } %>
                                       </td>
                                    </tr>

                                    <tr>
                                        <td>Password*</td>
                                        <td>
                                            <input type="password" maxlength="15" size="15" name="motDePasse"  value='<%=formHandler.getMotDePasse()%>'/>
                                              <strong>(entre 6 et 15 caractères)</strong>
                                            <br><font size=1 color="red"><%=formHandler.getErrorMsg("motDePasse")%></font>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>Confirmer Password*</td>
                                        <td >
                                            <input type="password" maxlength="15" size="15"  name="confirm_Pass" value='<%=formHandler.getConfirm_Pass()%>'/>

                                            <br><font size=1 color="red"><%=formHandler.getErrorMsg("confirm_pass")%></font>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>Nom*</td>
                                        <td>
                                            <input maxlength="20" size="15" name="nom"  value='<%=formHandler.getNom()%>'/>
                                            <br><font size=1 color="red"><%=formHandler.getErrorMsg("nom")%></font>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>Prenom*</td>
                                        <td>
                                            <input maxlength="20" size="15" name="prenom"  value='<%=formHandler.getPrenom()%>' />
                                            <br><font size=1 color="red"><%=formHandler.getErrorMsg("prenom")%></font>

                                        </td>
                                    </tr>
                                    <tr>
                                        <td>Email*</td>
                                        <td >
                                            <input maxlength="30" size="30" name="email" value='<%=formHandler.getEmail()%>' onKeyPress="return verifEmail(event);" />
                                            <br><font size=1 color="red"><%=formHandler.getErrorMsg("email")%></font>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>Adresse*</td>
                                        <td>
                                            <input maxlength="50" size="30" name="adress" value='<%=formHandler.getAdress()%>'/>
                                            <br><font size=1 color="red"><%=formHandler.getErrorMsg("adress")%></font>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>Ville*</td>
                                        <td>
                                            <input maxlength="50" size="30"  name="ville" value='<%=formHandler.getVille()%>'/>
                                            <br><font size=1 color="red"><%=formHandler.getErrorMsg("ville")%></font>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>Code Postal*</td>
                                        <td>
                                            <input maxlength="5" size="10"  name="postal" value='<%=formHandler.getPostal()%>'onKeyPress="return verifNumero(event);"/>
                                            <br><font size=1 color="red"><%=formHandler.getErrorMsg("postal")%></font>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>Pays*</td>
                                        <td>
                                            <%out.print("<select id=\"pays\" name=\"pays\">");
out.print("<option selected value='" );
out.print(formHandler.getPays());
    out.print(    "'>" +formHandler.getPays()+
            "</option>" );
      out.print("<option>Afghanistan</option><option>Albania</option><option>Algeria</option><option>American Samoa</option><option>Angola</option><option>Anguilla</option><option>Antartica</option><option>Antigua and Barbuda</option><option>Argentina</option><option>Armenia</option><option>Aruba</option><option>Ashmore and Cartier Island</option><option>Australia</option><option>Austria</option><option>Azerbaijan</option><option>Bahamas</option><option>Bahrain</option><option>Bangladesh</option><option>Barbados</option><option>Belarus</option><option>Belgium</option><option>Belize</option><option>Benin</option><option>Bermuda</option><option>Bhutan</option><option>Bolivia</option><option>Bosnia and Herzegovina</option><option>Botswana</option><option>Brazil</option><option>British Virgin Islands</option><option>Brunei</option><option>Bulgaria</option><option>Burkina Faso</option><option>Burma</option><option>Burundi</option><option>Cambodia</option><option>Cameroon</option><option>Canada</option><option>Cape Verde</option><option>Cayman Islands</option><option>Central African Republic</option><option>Chad</option><option>Chile</option><option>China</option><option>Christmas Island</option><option>Clipperton Island</option><option>Cocos (Keeling) Islands</option><option>Colombia</option><option>Comoros</option><option>Congo, Democratic Republic of the</option><option>Congo, Republic of the</option><option>Cook Islands</option><option>Costa Rica</option><option>Cote d'Ivoire</option><option>Croatia</option><option>Cuba</option><option>Cyprus</option><option>Czeck Republic</option><option>Denmark</option><option>Djibouti</option><option>Dominica</option><option>Dominican Republic</option><option>Ecuador</option><option>Egypt</option><option>El Salvador</option><option>Equatorial Guinea</option><option>Eritrea</option><option>Estonia</option><option>Ethiopia</option><option>Europa Island</option><option>Falkland Islands (Islas Malvinas)</option><option>Faroe Islands</option><option>Fiji</option><option>Finland</option><option>France</option><option>French Guiana</option><option>French Polynesia</option><option>French Southern and Antarctic Lands</option><option>Gabon</option><option>Gambia, The</option><option>Gaza Strip</option><option>Georgia</option><option>Germany</option><option>Ghana</option><option>Gibraltar</option><option>Glorioso Islands</option><option>Greece</option><option>Greenland</option><option>Grenada</option><option>Guadeloupe</option><option>Guam</option><option>Guatemala</option><option>Guernsey</option><option>Guinea</option><option>Guinea-Bissau</option><option>Guyana</option><option>Haiti</option><option>Heard Island and McDonald Islands</option><option>Holy See (Vatican City)</option><option>Honduras</option><option>Hong Kong</option><option>Howland Island</option><option>Hungary</option><option>Iceland</option><option>India</option><option>Indonesia</option><option>Iran</option><option>Iraq</option><option>Ireland</option><option>Ireland, Northern</option><option>Israel</option><option>Italy</option><option>Jamaica</option><option>Jan Mayen</option><option>Japan</option><option>Jarvis Island</option><option>Jersey</option><option>Johnston Atoll</option><option>Jordan</option><option>Juan de Nova Island</option><option>Kazakhstan</option><option>Kenya</option><option>Kiribati</option><option>Korea, North</option><option>Korea, South</option><option>Kuwait</option><option>Kyrgyzstan</option><option>Laos</option><option>Latvia</option><option>Lebanon</option><option>Lesotho</option><option>Liberia</option><option>Libya</option><option>Liechtenstein</option><option>Lithuania</option><option>Luxembourg</option><option>Macau</option><option>Macedonia, Former Yugoslav Republic of</option><option>Madagascar</option><option>Malawi</option><option>Malaysia</option><option>Maldives</option><option>Mali</option><option>Malta</option><option>Man, Isle of</option><option>Marshall Islands</option><option>Martinique</option><option>Mauritania</option><option>Mauritius</option><option>Mayotte</option><option>Mexico</option><option>Micronesia, Federated States of</option><option>Midway Islands</option><option>Moldova</option><option>Monaco</option><option>Mongolia</option><option>Montserrat</option><option>Morocco</option><option>Mozambique</option><option>Namibia</option><option>Nauru</option><option>Nepal</option><option>Netherlands</option><option>Netherlands Antilles</option><option>New Caledonia</option><option>New Zealand</option><option>Nicaragua</option><option>Niger</option><option>Nigeria</option><option>Niue</option><option>Norfolk Island</option><option>Northern Mariana Islands</option><option>Norway</option><option>Oman</option><option>Pakistan</option><option>Palau</option><option>Panama</option><option>Papua New Guinea</option><option>Paraguay</option><option>Peru</option><option>Philippines</option><option>Pitcaim Islands</option><option>Poland</option><option>Portugal</option><option>Puerto Rico</option><option>Qatar</option><option>Reunion</option><option>Romainia</option><option>Russia</option><option>Rwanda</option><option>Saint Helena</option><option>Saint Kitts and Nevis</option><option>Saint Lucia</option><option>Saint Pierre and Miquelon</option><option>Saint Vincent and the Grenadines</option><option>Samoa</option><option>San Marino</option><option>Sao Tome and Principe</option><option>Saudi Arabia</option><option>Scotland</option><option>Senegal</option><option>Seychelles</option><option>Sierra Leone</option><option>Singapore</option><option>Slovakia</option><option>Slovenia</option><option>Solomon Islands</option><option>Somalia</option><option>South Africa</option><option>South Georgia and South Sandwich Islands</option><option>Spain</option><option>Spratly Islands</option><option>Sri Lanka</option><option>Sudan</option><option>Suriname</option><option>Svalbard</option><option>Swaziland</option><option>Sweden</option><option>Switzerland</option><option>Syria</option><option>Taiwan</option><option>Tajikistan</option><option>Tanzania</option><option>Thailand</option><option>Tobago</option><option>Toga</option><option>Tokelau</option><option>Tonga</option><option>Trinidad</option><option>Tunisia</option><option>Turkey</option><option>Turkmenistan</option><option>Tuvalu</option><option>Uganda</option><option>Ukraine</option><option>United Arab Emirates</option><option>United Kingdom</option><option>Uruguay</option><option>USA</option><option>Uzbekistan</option><option>Vanuatu</option><option>Venezuela</option><option>Vietnam</option><option>Virgin Islands</option><option>Wales</option><option>Wallis and Futuna</option><option>West Bank</option><option>Western Sahara</option><option>Yemen</option><option>Yugoslavia</option><option>Zambia</option><option>Zimbabwe</option></select>");
                                            %>

                                            <br><font size=1 color="red"><%=formHandler.getErrorMsg("pays")%></font>
                                        </td>
                                    </tr>

                                    <tr>
                                        <td>Telephone</td>
                                        <td>
                                            <input maxlength="20" size="15" name="tel" value='<%=formHandler.getTel()%>' onKeyPress="return verifTel(event);" />
                                            <br><font size=1 color="red"><%=formHandler.getErrorMsg("tel")%></font>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>Date de naissance*</td>
                                        <td>

                                            <select id="jour" name="jour"  >
                                                <option selected value='<%=formHandler.getJour()%>' ><%=formHandler.getJour()%></option>
                                                <option value=01>01</option><option value=02>02</option><option value=03>03</option>
                                                <option value=04>04</option><option value=05>05</option><option value=06>06</option>
                                                <option value=07>07</option><option value=8>08</option><option value=09>09</option>
                                                <option value=10>10</option><option value=11>11</option><option value=12>12</option>
                                                <option value=13>13</option><option value=14>14</option><option value=15>15</option>
                                                <option value=16>16</option><option value=17>17</option><option value=18>18</option>
                                                <option value=19>19</option><option value=20>20</option><option value=21>21</option>
                                                <option value=22>22</option><option value=23>23</option><option value=24>24</option>
                                                <option value=25>25</option><option value=26>26</option><option value=27>27</option>
                                                <option value=28>28</option><option value=29>29</option><option value=30>30</option>
                                                <option value=31>31</option>
                                            </select>

                                            <select id="mois" name="mois">

                                                <option selected value="<%=formHandler.getMois()%>"><%=formHandler.getMois()%></option>
                                                <option value="01">01</option>
                                                <option value="02">02</option>
                                                <option value="03">03</option>
                                                <option value="04">04</option>
                                                <option value="05">05</option><option value="06">06</option>
                                                <option value="07">07</option><option value="08">08</option>
                                                <option value="09">09</option><option value="10">10</option>
                                                <option value="11">11</option><option value="12">12</option>
                                            </select>

                                            <input type="text" maxlength="4" size="7"  name="an" onKeyPress="return verifTel(event);" value='<%=formHandler.getAn()%>'/>Anneé*<b><STRONG>&nbsp; (aaaa)</STRONG></b>                                           
                                            <br><font size=1 color="red"><%=formHandler.getErrorMsg("jour")%></font>
                                            <br><font size=1 color="red"><%=formHandler.getErrorMsg("mois")%></font>
                                            <br><font size=1 color="red"><%=formHandler.getErrorMsg("an")%></font>
                                        </td>
                                    </tr>

                                    <tr valign="top" ><td colspan="2"><p>Pour plus de sécurité, Veuillez saisir le code de vérification caché dans l'image. </p>
                                            <img src="Cap_Img.jsp" alt="" width="92" height="44" />
                                            <input name="numero" type="text" />
                                            <br><font size=1 color="red"><%=formHandler.getErrorMsg("numero")%></font>
                                        </td>

                                    </tr>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>


                                    <tr>

                                        <td>Condition</td>
                                        <td ><a href="condition.jsp" style="color:red"><p style="font-size:12px;text-decoration:underline">Condition d'utilisation et Règlement sur Lost Objet</p></a>
                                            <p style="color:#666666">Donner votre accord en cochant la case: </p>
                                            <p style="color:#666666">
                                                <input type="radio" name="notify" id="con1" value="Oui" checked />
                                            <strong><a href="condition.jsp" style="color:red">J'accepte les conditions ci-dessous</a></strong></p>
                                            <ul style="color:#666666">
                                                <li>J'accepte les conditions et le règlement ci-dessus</li>
                                                <li style="color:#666666">Je reconnais avoir plus de 18 ans </li>
                                            </ul>
                                            <p>
                                                <input type="radio" name="notify" value="Non"<%=formHandler.isRbSelected("No")%>/>
                                                <strong  style="color:red">Je n'accepte pas ces conditions</strong></p>
                                                <br><font size=1 color="red"><%=formHandler.getErrorMsg("notify")%></font>
                                                </td>
                                    </tr>
                                    <tr>
                                        <td align="right" colspan="2"><input id="inputsubmit1" type="button" value="Annuler" onclick="history.go(-1);return false;" />
                                        <input id="inputsubmit1" type="submit" value="Valider"  />                                                </td>
                                    </tr>
                                </tbody>
                            </table>
                    </form></span>
                    </div>
                </div>



            </div>


            <div id="cot_phai">
                <div id="content_cot_phai">

                    <%
        if (RoleID==-1){
             out.print("<div class=\"infos\">");

            out.print("<h2>S'identifier</h2>");

            out.print("<form id=\"form1\" method=\"post\" action=\"LoginProcess.jsp\">");
            out.print("<table border=\"0\">");
            out.print("<tr>");
            out.print("<td><label for=\"inputtext2\">Pseudo:</label></td>");
            out.print("<td><input size=\"15\" type=\"text\" name=\"user\" value=\"\" /></td>");
            out.print("</tr>");
            out.print("<tr>");
            out.print("<td><label for=\"inputtext2\">Password:</label></td>");
            out.print("<td><input size=\"15\" type=\"password\" name=\"pass\" value=\"\" /></td>");
            out.print("</tr>");
            out.print("<tr>");
            out.print("<td colspan=\"2\"><input type=\"submit\"  value=\"Ouvrir\" border=\"1\" />");
            out.print("</td>");
            out.print("</tr>");
            out.print("<tr>");
            out.print("<td colspan=\"2\"><a href=\"OublierLogin.jsp\">J'ai oublié mon pseudo</a><br/>");
            out.print("<a href=\"OublierLogin.jsp\">J'ai oublié mon password</a>");
            out.print("<br/>");
            out.print("<a href=\"Inscription.jsp\">Inscrivez vous</a></td>");
            out.print("</tr>");
            out.print("</table>");
            out.print("</form>");
            out.print("</div>");
        }

        if(RoleID==1){

                    out.print("<div class=\"infos\">");
                    out.print("<h3>Paramètres</h3>");
                    out.print("<p class=\"para\"><a href=\"../PHAN/fermession.jsp\">Déconnexion</a><br/>");
                    out.print("<a href=\"../PHAN/ModifierMotDePass.jsp\">Modifier le password</a><br/>");
                    out.print("<a href=\"../PHAN/ModifierCoordonnees.jsp\">Modifier les coordonnées</a><br/>");
                    out.print("</p>");
                    out.print("</div>");
        }

        if(RoleID==2){
                    out.print("<div class=\"infos\">");
                    out.print("<h3>Paramètres</h3>");
                    out.print("<p class=\"para\"><a href=\"../PHAN/fermession.jsp\">Déconnexion</a><br/>");
                    out.print("<a href=\"../PHAN/ModifierMotDePass.jsp\">Modifier le password</a><br/>");
                    out.print("<a href=\"../PHAN/ModifierCoordonnees.jsp\">Modifier les coordonnées</a><br/>");
                    out.print("</p>");
                    out.print("<div class=\"buttonwrapper\" style=\"padding-left:25px;padding-bottom:10px\">");
                    out.print("<a class=\"squarebutton\" href=\"../VerifierObjetABN/AjouterElementNewCompte.jsp\">");
                    out.print("<span>Nouveau Compte</span></a>");
                    out.print("</div>");
                    out.print("</div>");
        }
                    %>
                </div>
            </div>

           

            <div id="footer_menu">

                <%


                if(RoleID==-1){

                out.print("<ul>");
                out.print("<li class=\"first\"><a href=\"Accueil.jsp\">Accueil</a></li>");
                out.print("<li><a href=\"Login.jsp\">Déjà Membre</a></li>");
                out.print("<li><a href=\"Inscription.jsp\">Nouveau Membre</a></li>");
                out.print("<li><a href=\"Login.jsp\">Vérifier Objet</a></li>");
                out.print("<li><a href=\"Login.jsp\">Enregistrer Objet</a></li>");
                out.print("<li><a href=\"PlanDuSite.jsp\">Plan Du Site</a></li>");
                out.print("<li><a href=\"ContactNous.jsp\">Nous Contacter</a></li>");
                out.print("</ul>");

               }
                if(RoleID==1){

                out.print("<ul>");
                out.print("<li class=\"first\"><a href=\"Accueil.jsp\">Accueil</a></li>");
                out.print("<li><a href=\"Login.jsp\">Déjà Membre</a></li>");
                out.print("<li><a href=\"Inscription.jsp\">Nouveau Membre</a></li>");
                out.print("<li><a href=\"../PHAN/RechercheObjet.jsp\">Vérifier Objet</a></li>");
                out.print("<li><a href=\"../VerifierObjetVST/AjouterElementVST.jsp\">Enregistrer Objet</a></li>");
                out.print("<li><a href=\"PlanDuSite.jsp\">Plan Du Site</a></li>");
                out.print("<li><a href=\"ContactNous.jsp\">Nous Contacter</a></li>");
                out.print("<li><a href=\"PageCL_VST.jsp\">Votre Page</a></li>");
                out.print("</ul>");
                }
                 if(RoleID==2){

                out.print("<ul>");
                out.print("<li class=\"first\"><a href=\"Accueil.jsp\">Accueil</a></li>");
                out.print("<li><a href=\"Login.jsp\">Déjà Membre</a></li>");
                out.print("<li><a href=\"Inscription.jsp\">Nouveau Membre</a></li>");
                out.print("<li><a href=\"../PHAN/RechercheObjet.jsp\">Vérifier Objet</a></li>");
                out.print("<li><a href=\"../VerifierObjetABN/AjouterElementABN.jsp\">Enregistrer Objet</a></li>");
                out.print("<li><a href=\"PlanDuSite.jsp\">Plan Du Site</a></li>");
                out.print("<li><a href=\"ContactNous.jsp\">Nous Contacter</a></li>");
                 out.print("<li><a href=\"PageCL_ABN.jsp\">Votre Page</a></li>");
                out.print("</ul>");
                }
%>
            </div>

            <p id="copyright">
            <a href="http://www.lostobjet.fr">Copyright &copy; 2009 lostobjet.fr</a>


		</p>
        </div>



        <div id="Header_button">
            <div class="buttonwrapper">
                <%

                 if(RoleID==-1){
                         out.print("<a class=\"squarebutton\" href=\"../PHAN/Inscription.jsp\">");
                         out.print("<span>S'inscrire</span></a>");
                         out.print("<a class=\"squarebutton\" href=\"../PHAN/Login.jsp\">");
                         out.print("<span>Vérifier Objet</span></a>");
                         out.print("<a class=\"squarebutton\" href=\"../PHAN/Login.jsp\" style=\"margin-left:25px\">");
                         out.print("<span>Enregistrer Objet</span></a>");}

                if(RoleID==1){
                         out.print("<a class=\"squarebutton\" href=\"../PHAN/Inscription.jsp\">");
                         out.print("<span>S'inscrire</span></a>");
                         out.print("<a class=\"squarebutton\" href=\"../PHAN/RechercheObjet.jsp\">");
                         out.print("<span>Vérifier Objet</span></a>");
                         out.print("<a class=\"squarebutton\" href=\"../VerifierObjetVST/AjouterElementVST.jsp\" style=\"margin-left:25px\">");
                         out.print("<span>Enregistrer Objet</span></a>");}

                if(RoleID==2){
                         out.print("<a class=\"squarebutton\" href=\"../PHAN/Inscription.jsp\">");
                         out.print("<span>S'inscrire</span></a>");
                         out.print("<a class=\"squarebutton\" href=\"../PHAN/RechercheObjet.jsp\">");
                         out.print("<span>Vérifier Objet</span></a>");
                         out.print("<a class=\"squarebutton\" href=\"../VerifierObjetABN/AjouterElementABN.jsp\" style=\"margin-left:25px\">");
                         out.print("<span>Enregistrer Objet</span></a>");}

             %>
        </div>
        </div>
    </body>
</html>

